import { UseFormReturnType } from '/@/components/Form/index';

export interface ParamsByDriveModel {
  Name: string | number;
  AssemblyName: string | number;
  AddressExtend: string | number;
  ClassFullName: string | number;
  PreDriverName: string | number;
  Argument: any;
  TemplateId: string | number;
  TemplateSync: boolean;
  Description: string | number;
  DriverNO: string | number;
  nodeKey?: string | number;
  PDU: number;
}
export interface ParamsByGroupModel {
  Name: string | number;
  UpdateRate: number;
  IsActive: boolean;
  DeadBand: number;
}

export interface setValueModel {
  [key: string]: string | number | boolean;
}
export interface DataFileConfigModel {
  LogLocation: string;
  UserName: string;
  Password: string;
  PathType: number;
}

export interface FileAnalysisModel {
  Title: string;
  ReadCycle: number;
  WorkModel: number;
  LogExpireDay: number;
  DataFileConfig: DataFileConfigModel;
  Form?: UseFormReturnType;
  Field?: any;
}

export interface ResByFileModel {
  isCheck: boolean;
  val: any;
}
